<?php
/*-----
桌面站点路由群组 START
-----*/
$_dp = config('site.route.prefix.desktop', '');
Route::group(['prefix' => $_dp, 'namespace' => 'Desktop', 'middleware' => ['block:desktop', 'web']], function () {

    //桌面站主页
    Route::get('/', 'HomeController@getIndex');
    Route::get('newsInfo', 'HomeController@newsInfo');

    //设置语言版本
    Route::get('lang', 'HomeController@getLang');

    # 展示分类
    Route::get('{category}', 'HomeController@getCategory');

    # 展示文章
    Route::get('{category}/{article}.html', 'HomeController@getArticle');

});
/*-----
桌面站点路由群组 END
-----*/